#define MINDVISION
#ifdef MINDVISION
#include "ImageConsProd.h"
#include <thread>
#include <iostream>


int main()
{
    ImageConsProd image_cons_prod;
    std::thread t1(&ImageConsProd::ImageProducer, &image_cons_prod); // pass by reference
    std::thread t2(&ImageConsProd::ImageConsumer, &image_cons_prod);
    std::thread t3(&ImageConsProd::ImageCapture, &image_cons_prod);
//    std::thread t4(&ImageConsProd::ImageGetinfo, &image_cons_prod);
    t1.join();
    t2.join();
    t3.join();
//    t4.join();

    return 0;
}

#endif
